<!doctype html>
<html>
    <head>
        <!-- meta -->
        <!-- meta -->
        <title>Events</title>
        <!-- css -->
        <link href="../styles/examples.css" rel="stylesheet"/>
        <link href="../../source/styles/nova.common.css" rel="stylesheet"/>
        <link href="../../source/styles/nova.css" rel="stylesheet"/>
        <!-- css -->
        <!-- script -->
        <script src="../js/jquery.js"></script>
        <script src="../../source/js/nova.core.js"></script>
        <script src="../js/nova.console.js"></script>
        <script src="../../source/js/nova.draganddrop.js"></script>
        <script src="../../source/js/nova.slider.js"></script>
        <!-- script -->
    </head>
    <body>
        <!-- nav -->
        <!-- nav -->
        <!-- description -->
        <div class="description">Events</div>
        <!-- description -->
        <div id="example" class="n-content">
            <input type="range" id="slider" />
            <br />
            <div id="rangeslider" style="margin-top: 40px;">
                <input type="range" />
                <input type="range" />
            </div>
            <script>
                function sliderOnSlide(e) {
                    novaConsole.log("Change :: new value is: " + e.value);
                };

                function sliderOnChange(e) {
                    novaConsole.log("Slide :: new slide value is: " + e.value);
                };

                function rangeSliderOnSlide(e) {
                    novaConsole.log("Slide :: new slide value are: " + e.values.toString().replace(",", " - "));
                };

                function rangeSliderOnChange(e) {
                    novaConsole.log("Change :: new values are: " + e.values.toString().replace(",", " - "));
                };

                $(document).ready(function() {
                    $("#slider").novaSlider({
                        change: sliderOnChange,
                        slide: sliderOnSlide
                    });

                    $("#rangeslider").novaRangeSlider({
                        change: rangeSliderOnChange,
                        slide: rangeSliderOnSlide
                    });
                });
            </script>
        </div>
        <div class="console"></div>
        <!-- tools -->
        <!-- tools -->
    </body>
</html>
